﻿using System;
using System.Net;
using System.Collections.Generic;
using Fdd.Aspen.Services.Web.PresentationModel;


namespace Fdd.Aspen.Client.ViewModels.DataChannels
{
    public interface IListMemberViewModelDataChannel
    {
        void GetAllMembersAsync(Action<DataChannelLoadOperation<IEnumerable<MemberPM>>> getAllMembersCompletedCallBack);

        void Save(Action<DataChannelSaveOperation> saveCompletedCallBack);

        void AddMember(MemberPM member);

        void RemoveMember(MemberPM member);

        IEnumerable<MemberPM> LoadedMembers { get; }
    }
}
